from rest_framework.serializers import ModelSerializer
from .models import *

class Newsser(ModelSerializer):
    class Meta:
        model = News
        fields = "__all__"

class Adser(ModelSerializer):
    class Meta:
        model = Ad
        fields = "__all__"